using System;
using System.Collections.Generic;
using System.Text;

namespace MJB.UI.ContentEditor.Document {

	/// <summary>
	/// This attribute is used to mark a class that handles the implementation of a particular version 
	/// of the schema.
	/// </summary>
	[AttributeUsage(AttributeTargets.Class)]
	public class DocumentReaderHandlerAttribute : Attribute {

		/// <summary>
		/// Creates the attribute.
		/// </summary>
		public DocumentReaderHandlerAttribute() {
            VersionNamespace = String.Empty;
		}

		/// <summary>
		/// Creates the attribute.
		/// </summary>
		public DocumentReaderHandlerAttribute(string versionNamespace) {
            this.VersionNamespace = versionNamespace;
		}

		/// <summary>
		/// Gets / sets the document version.
		/// </summary>
        public string VersionNamespace
        {
            get;
            set;
        }

	}

}
